package com.ruoyi.projectInfo.mapper;

import com.ruoyi.projectInfo.domain.HouseProjectInfo;

import java.util.List;

/**
 * 维修内容Mapper接口
 * 
 * @author tuyeqi
 * @date 2023-05-15
 */
public interface HouseProjectInfoMapper 
{
    /**
     * 查询维修内容
     * 
     * @param infoId 维修内容主键
     * @return 维修内容
     */
    public HouseProjectInfo selectHouseProjectInfoByInfoId(Long infoId);
    public HouseProjectInfo selectInfoName(HouseProjectInfo houseProjectInfo);

    /**
     * 查询维修内容列表
     * 
     * @param houseProjectInfo 维修内容
     * @return 维修内容集合
     */
    public List<HouseProjectInfo> selectHouseProjectInfoList(HouseProjectInfo houseProjectInfo);

    /**
     * 新增维修内容
     * 
     * @param houseProjectInfo 维修内容
     * @return 结果
     */
    public int insertHouseProjectInfo(HouseProjectInfo houseProjectInfo);

    /**
     * 修改维修内容
     * 
     * @param houseProjectInfo 维修内容
     * @return 结果
     */
    public int updateHouseProjectInfo(HouseProjectInfo houseProjectInfo);

    /**
     * 删除维修内容
     * 
     * @param infoId 维修内容主键
     * @return 结果
     */
    public int deleteHouseProjectInfoByInfoId(Long infoId);

    /**
     * 批量删除维修内容
     * 
     * @param infoIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteHouseProjectInfoByInfoIds(Long[] infoIds);
}
